package com.oa.bean.work;

// 管理员表
public class Admin {
	private int aid;// 管理员id
	private int atype;// 管理员类型
	private String aname;// 管理员名称
	private String account;// 账户
	private String apwd;// 管理员密码

	public Admin() {
	}

	public Admin(int aid, int atype, String aname, String aaccount, String apwd) {
		super();
		this.aid = aid;
		this.atype = atype;
		this.aname = aname;
		this.account = aaccount;
		this.apwd = apwd;
	}

	public int getAid() {
		return aid;
	}

	public void setAid(int aid) {
		this.aid = aid;
	}

	public int getAtype() {
		return atype;
	}

	public void setAtype(int atype) {
		this.atype = atype;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getApwd() {
		return apwd;
	}

	public void setApwd(String apwd) {
		this.apwd = apwd;
	}

	@Override
	public String toString() {
		return "Admin [aid=" + aid + ", atype=" + atype + ", aname=" + aname + ", account=" + account + ", apwd="
				+ apwd + "]";
	}

}
